<?php
$mail = $_POST['mail'];
$about = $_POST['about'];
$comment = $_POST['comment'];

$today = date("Ymd");
$fp = fopen('comments.xml', 'a');
fwrite($fp, "<comment date='".$today."'><mail>".$mail."</mail><about>".$about."</about><comm>".$comment."</comm></comment>");
fclose($fp);
header('Content-Type:text/html');
echo "Gracias por tu comentario!";
?>
